package shopcart;

public class Good {
    private String name;
    private int number;
    private float price;
    private String kind;

    public Good() {
    }

    public Good(String name, int number, float price, String kind) {
        this.name = name;
        this.number = number;
        this.price = price;
        this.kind = kind;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getkind() {
        return kind;
    }

    public void setkind(String kind) {
        this.kind = kind;
    }
}
